home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20000114-20000217
/
000126_news@columbia.edu _Mon Jan 24 10:27:29 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
1KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA10046
for <kermit.misc@watsun.cc.columbia.edu>; Mon, 24 Jan 2000 10:27:29 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id KAA25151
for kermit.misc@watsun.cc.columbia.edu; Mon, 24 Jan 2000 10:26:00 -0500 (EST)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Subject: Re: File deletion script
Date: 24 Jan 2000 15:25:58 GMT
Organization: Columbia University
Message-ID: <86hqu6$oht$1@newsmaster.cc.columbia.edu>
To: kermit.misc@columbia.edu
In article <uRWi4.61$IP6.1737@news.kpnqwest.fi>,
Antero Laitinen <antero.laitinen@yle.fi> wrote:
: I would need a simple script to delete files older than one week in a
: folder. Anybody know of a web page where I could find such a script ?
:
Here is such a script:
ftp://kermit.columbia.edu/kermit/scripts/ckermit/delete
It is from the C-Kermit script library:
http://www.columbia.edu/kermit/ckscripts.html
and is executed by C-Kermit 7.0:
http://www.columbia.edu/kermit/ckermit.html
Some people might find the syntax:
delete /before:-7days foldername/*
easier to cope with than that of 'find' :-)
- Frank